\doxysubsubsection{UART Exported Macros }
\hypertarget{group___u_a_r_t___exported___macros}{}\label{group___u_a_r_t___exported___macros}\index{UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga19deab848407b106998416c78092fa9b}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+RESET\+\_\+\+HANDLE\+\_\+\+STATE}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Reset UART handle states. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_gafc4f20cb0f29ba146c9bc14167c52744}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+FLUSH\+\_\+\+DRREGISTER}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Flush the UART Data registers. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga9bd035161d41cde4f2568c7af06493bf}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+FLAG}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+,  \+\_\+\+\_\+\+FLAG\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Clear the specified UART pending flag. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_gaba5e19c60e0f37341b1585a380b84d49}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+PEFLAG}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Clear the UART PE pending flag. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_gae1dfc7777b089a10464841045b524caa}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+FEFLAG}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Clear the UART FE pending flag. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_gaa1f69421585b3ada4d2b81d502a3ae6b}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+NEFLAG}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Clear the UART NE pending flag. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga9cdc2f2d55eaaa7895996bf6848df42e}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+OREFLAG}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Clear the UART ORE pending flag. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga1345aa0af53d82269b13835c225e91d0}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+IDLEFLAG}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Clear the UART IDLE pending flag. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga590d72bb6cccc36563d67697e53fe6cf}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+TXFECF}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Clear the UART TX FIFO empty clear flag. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga261fe8a2afe84ec048113654266c5bf6}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+GET\+\_\+\+FLAG}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+,  \+\_\+\+\_\+\+FLAG\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Check whether the specified UART flag is set or not. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_gaba94165ed584d49c1ec12df9819bd4bb}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+ENABLE\+\_\+\+IT}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+,  \+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Enable the specified UART interrupt. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga3c29b33f38658acbf592e9aaf84c6f33}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+DISABLE\+\_\+\+IT}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+,  \+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Disable the specified UART interrupt. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga89c4cb1b623c15cfdea2c0a864c8b1e4}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+GET\+\_\+\+IT}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+,  \+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Check whether the specified UART interrupt has occurred or not. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_gab53dbf1d75f241330428bf426b2963d1}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+GET\+\_\+\+IT\+\_\+\+SOURCE}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+,  \+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Check whether the specified UART interrupt source is enabled or not. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_gaa81e0f2503bd2a699e7e478507946bb2}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+IT}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+,  \+\_\+\+\_\+\+IT\+\_\+\+CLEAR\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Clear the specified UART ISR flag, in setting the proper ICR register flag. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga568a15495a9e2a9d230474b9e8bcc8e4}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+SEND\+\_\+\+REQ}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+,  \+\_\+\+\_\+\+REQ\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Set a specific UART request flag. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga3524747e5896296ab066d786431503ce}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+ONE\+\_\+\+BIT\+\_\+\+SAMPLE\+\_\+\+ENABLE}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Enable the UART one bit sample method. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga2dbd7e6592e8c5999f817b69f0fd24bb}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+ONE\+\_\+\+BIT\+\_\+\+SAMPLE\+\_\+\+DISABLE}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Disable the UART one bit sample method. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga49eb5ea4996a957afeb8be2793ba3fe9}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+ENABLE}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Enable UART. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_gad2f9fbdb4adf3a09939e201eaeea072f}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+DISABLE}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Disable UART. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga4a77213945844bca4c22ba6a14b7ee4c}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+HWCONTROL\+\_\+\+CTS\+\_\+\+ENABLE}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Enable CTS flow control. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga0a26cb3a576c2700f76a7c697c86a499}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+HWCONTROL\+\_\+\+CTS\+\_\+\+DISABLE}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Disable CTS flow control. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga017ec9001ff33136f87cc4034b2709a6}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+HWCONTROL\+\_\+\+RTS\+\_\+\+ENABLE}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Enable RTS flow control. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___u_a_r_t___exported___macros_ga8c034e96ad8f263cafeb5898ff7311fd}{\+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+HWCONTROL\+\_\+\+RTS\+\_\+\+DISABLE}}(\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Disable RTS flow control. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsubsection{Detailed Description}


\label{doc-define-members}
\Hypertarget{group___u_a_r_t___exported___macros_doc-define-members}
\doxysubsubsubsection{Macro Definition Documentation}
\Hypertarget{group___u_a_r_t___exported___macros_gae1dfc7777b089a10464841045b524caa}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_CLEAR\_FEFLAG@{\_\_HAL\_UART\_CLEAR\_FEFLAG}}
\index{\_\_HAL\_UART\_CLEAR\_FEFLAG@{\_\_HAL\_UART\_CLEAR\_FEFLAG}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_CLEAR\_FEFLAG}{\_\_HAL\_UART\_CLEAR\_FEFLAG}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_gae1dfc7777b089a10464841045b524caa} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+FEFLAG(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group___u_a_r_t___exported___macros_ga9bd035161d41cde4f2568c7af06493bf}{\_\_HAL\_UART\_CLEAR\_FLAG}}((\_\_HANDLE\_\_),\ \mbox{\hyperlink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga2040edf7a1daa2e9f352364e285ef5c3}{UART\_CLEAR\_FEF}})}

\end{DoxyCode}


Clear the UART FE pending flag. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga9bd035161d41cde4f2568c7af06493bf}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_CLEAR\_FLAG@{\_\_HAL\_UART\_CLEAR\_FLAG}}
\index{\_\_HAL\_UART\_CLEAR\_FLAG@{\_\_HAL\_UART\_CLEAR\_FLAG}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_CLEAR\_FLAG}{\_\_HAL\_UART\_CLEAR\_FLAG}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga9bd035161d41cde4f2568c7af06493bf} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+FLAG(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{, }\item[{}]{\+\_\+\+\_\+\+FLAG\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{((\_\_HANDLE\_\_)-\/>Instance-\/>ICR\ =\ (\_\_FLAG\_\_))}

\end{DoxyCode}


Clear the specified UART pending flag. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
{\em \+\_\+\+\_\+\+FLAG\+\_\+\+\_\+} & specifies the flag to check. This parameter can be any combination of the following values\+: \begin{DoxyItemize}
\item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga9c2aef8048dd09ea5e72d69c63026f02}{UART\+\_\+\+CLEAR\+\_\+\+PEF} Parity Error Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga2040edf7a1daa2e9f352364e285ef5c3}{UART\+\_\+\+CLEAR\+\_\+\+FEF} Framing Error Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_gad5b9aafb495296d917a5d85e63383396}{UART\+\_\+\+CLEAR\+\_\+\+NEF} Noise detected Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga3bc97b70293f9a7bf8cc21a74094afad}{UART\+\_\+\+CLEAR\+\_\+\+OREF} Overrun Error Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga75ee9be0ac2236931ef3d9514e7dedf4}{UART\+\_\+\+CLEAR\+\_\+\+IDLEF} IDLE line detected Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga1143cc2878693b1d5d56bf757e2b1bcb}{UART\+\_\+\+CLEAR\+\_\+\+TXFECF} TXFIFO empty clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_gadfbfe4df408d1d09ff2adc1ddad3de09}{UART\+\_\+\+CLEAR\+\_\+\+TCF} Transmission Complete Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga2735a415d2c7930fdf2818943fd7ddd2}{UART\+\_\+\+CLEAR\+\_\+\+RTOF} Receiver Timeout clear flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga030414d9a93ad994156210644634b73c}{UART\+\_\+\+CLEAR\+\_\+\+LBDF} LIN Break Detection Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_gabe0f3bc774ad0b9319732da3be8374cf}{UART\+\_\+\+CLEAR\+\_\+\+CTSF} CTS Interrupt Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga5815698abf54d69b752bd2c43c2d6ad3}{UART\+\_\+\+CLEAR\+\_\+\+CMF} Character Match Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga5081c579f9956a7712248430f3fe129b}{UART\+\_\+\+CLEAR\+\_\+\+WUF} Wake Up from stop mode Clear Flag \end{DoxyItemize}
\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga1345aa0af53d82269b13835c225e91d0}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_CLEAR\_IDLEFLAG@{\_\_HAL\_UART\_CLEAR\_IDLEFLAG}}
\index{\_\_HAL\_UART\_CLEAR\_IDLEFLAG@{\_\_HAL\_UART\_CLEAR\_IDLEFLAG}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_CLEAR\_IDLEFLAG}{\_\_HAL\_UART\_CLEAR\_IDLEFLAG}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga1345aa0af53d82269b13835c225e91d0} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+IDLEFLAG(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group___u_a_r_t___exported___macros_ga9bd035161d41cde4f2568c7af06493bf}{\_\_HAL\_UART\_CLEAR\_FLAG}}((\_\_HANDLE\_\_),\ \mbox{\hyperlink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga75ee9be0ac2236931ef3d9514e7dedf4}{UART\_CLEAR\_IDLEF}})}

\end{DoxyCode}


Clear the UART IDLE pending flag. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_gaa81e0f2503bd2a699e7e478507946bb2}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_CLEAR\_IT@{\_\_HAL\_UART\_CLEAR\_IT}}
\index{\_\_HAL\_UART\_CLEAR\_IT@{\_\_HAL\_UART\_CLEAR\_IT}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_CLEAR\_IT}{\_\_HAL\_UART\_CLEAR\_IT}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_gaa81e0f2503bd2a699e7e478507946bb2} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+IT(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{, }\item[{}]{\+\_\+\+\_\+\+IT\+\_\+\+CLEAR\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{((\_\_HANDLE\_\_)-\/>Instance-\/>ICR\ =\ (uint32\_t)(\_\_IT\_CLEAR\_\_))}

\end{DoxyCode}


Clear the specified UART ISR flag, in setting the proper ICR register flag. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
{\em \+\_\+\+\_\+\+IT\+\_\+\+CLEAR\+\_\+\+\_\+} & specifies the interrupt clear register flag that needs to be set to clear the corresponding interrupt This parameter can be one of the following values\+: \begin{DoxyItemize}
\item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga9c2aef8048dd09ea5e72d69c63026f02}{UART\+\_\+\+CLEAR\+\_\+\+PEF} Parity Error Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga2040edf7a1daa2e9f352364e285ef5c3}{UART\+\_\+\+CLEAR\+\_\+\+FEF} Framing Error Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_gad5b9aafb495296d917a5d85e63383396}{UART\+\_\+\+CLEAR\+\_\+\+NEF} Noise detected Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga3bc97b70293f9a7bf8cc21a74094afad}{UART\+\_\+\+CLEAR\+\_\+\+OREF} Overrun Error Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga75ee9be0ac2236931ef3d9514e7dedf4}{UART\+\_\+\+CLEAR\+\_\+\+IDLEF} IDLE line detected Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga2735a415d2c7930fdf2818943fd7ddd2}{UART\+\_\+\+CLEAR\+\_\+\+RTOF} Receiver timeout clear flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga1143cc2878693b1d5d56bf757e2b1bcb}{UART\+\_\+\+CLEAR\+\_\+\+TXFECF} TXFIFO empty Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_gadfbfe4df408d1d09ff2adc1ddad3de09}{UART\+\_\+\+CLEAR\+\_\+\+TCF} Transmission Complete Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga030414d9a93ad994156210644634b73c}{UART\+\_\+\+CLEAR\+\_\+\+LBDF} LIN Break Detection Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_gabe0f3bc774ad0b9319732da3be8374cf}{UART\+\_\+\+CLEAR\+\_\+\+CTSF} CTS Interrupt Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga5815698abf54d69b752bd2c43c2d6ad3}{UART\+\_\+\+CLEAR\+\_\+\+CMF} Character Match Clear Flag \item \doxylink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga5081c579f9956a7712248430f3fe129b}{UART\+\_\+\+CLEAR\+\_\+\+WUF} Wake Up from stop mode Clear Flag \end{DoxyItemize}
\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_gaa1f69421585b3ada4d2b81d502a3ae6b}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_CLEAR\_NEFLAG@{\_\_HAL\_UART\_CLEAR\_NEFLAG}}
\index{\_\_HAL\_UART\_CLEAR\_NEFLAG@{\_\_HAL\_UART\_CLEAR\_NEFLAG}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_CLEAR\_NEFLAG}{\_\_HAL\_UART\_CLEAR\_NEFLAG}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_gaa1f69421585b3ada4d2b81d502a3ae6b} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+NEFLAG(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group___u_a_r_t___exported___macros_ga9bd035161d41cde4f2568c7af06493bf}{\_\_HAL\_UART\_CLEAR\_FLAG}}((\_\_HANDLE\_\_),\ \mbox{\hyperlink{group___u_a_r_t___i_t___c_l_e_a_r___flags_gad5b9aafb495296d917a5d85e63383396}{UART\_CLEAR\_NEF}})}

\end{DoxyCode}


Clear the UART NE pending flag. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga9cdc2f2d55eaaa7895996bf6848df42e}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_CLEAR\_OREFLAG@{\_\_HAL\_UART\_CLEAR\_OREFLAG}}
\index{\_\_HAL\_UART\_CLEAR\_OREFLAG@{\_\_HAL\_UART\_CLEAR\_OREFLAG}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_CLEAR\_OREFLAG}{\_\_HAL\_UART\_CLEAR\_OREFLAG}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga9cdc2f2d55eaaa7895996bf6848df42e} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+OREFLAG(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group___u_a_r_t___exported___macros_ga9bd035161d41cde4f2568c7af06493bf}{\_\_HAL\_UART\_CLEAR\_FLAG}}((\_\_HANDLE\_\_),\ \mbox{\hyperlink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga3bc97b70293f9a7bf8cc21a74094afad}{UART\_CLEAR\_OREF}})}

\end{DoxyCode}


Clear the UART ORE pending flag. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_gaba5e19c60e0f37341b1585a380b84d49}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_CLEAR\_PEFLAG@{\_\_HAL\_UART\_CLEAR\_PEFLAG}}
\index{\_\_HAL\_UART\_CLEAR\_PEFLAG@{\_\_HAL\_UART\_CLEAR\_PEFLAG}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_CLEAR\_PEFLAG}{\_\_HAL\_UART\_CLEAR\_PEFLAG}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_gaba5e19c60e0f37341b1585a380b84d49} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+PEFLAG(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group___u_a_r_t___exported___macros_ga9bd035161d41cde4f2568c7af06493bf}{\_\_HAL\_UART\_CLEAR\_FLAG}}((\_\_HANDLE\_\_),\ \mbox{\hyperlink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga9c2aef8048dd09ea5e72d69c63026f02}{UART\_CLEAR\_PEF}})}

\end{DoxyCode}


Clear the UART PE pending flag. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga590d72bb6cccc36563d67697e53fe6cf}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_CLEAR\_TXFECF@{\_\_HAL\_UART\_CLEAR\_TXFECF}}
\index{\_\_HAL\_UART\_CLEAR\_TXFECF@{\_\_HAL\_UART\_CLEAR\_TXFECF}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_CLEAR\_TXFECF}{\_\_HAL\_UART\_CLEAR\_TXFECF}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga590d72bb6cccc36563d67697e53fe6cf} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+CLEAR\+\_\+\+TXFECF(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group___u_a_r_t___exported___macros_ga9bd035161d41cde4f2568c7af06493bf}{\_\_HAL\_UART\_CLEAR\_FLAG}}((\_\_HANDLE\_\_),\ \mbox{\hyperlink{group___u_a_r_t___i_t___c_l_e_a_r___flags_ga1143cc2878693b1d5d56bf757e2b1bcb}{UART\_CLEAR\_TXFECF}})}

\end{DoxyCode}


Clear the UART TX FIFO empty clear flag. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_gad2f9fbdb4adf3a09939e201eaeea072f}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_DISABLE@{\_\_HAL\_UART\_DISABLE}}
\index{\_\_HAL\_UART\_DISABLE@{\_\_HAL\_UART\_DISABLE}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_DISABLE}{\_\_HAL\_UART\_DISABLE}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_gad2f9fbdb4adf3a09939e201eaeea072f} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+DISABLE(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{((\_\_HANDLE\_\_)-\/>Instance-\/>CR1\ \&=\ \mbox{\hyperlink{group___peripheral___registers___bits___definition_ga2bb650676aaae4a5203f372d497d5947}{\string~USART\_CR1\_UE}})}

\end{DoxyCode}


Disable UART. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga3c29b33f38658acbf592e9aaf84c6f33}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_DISABLE\_IT@{\_\_HAL\_UART\_DISABLE\_IT}}
\index{\_\_HAL\_UART\_DISABLE\_IT@{\_\_HAL\_UART\_DISABLE\_IT}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_DISABLE\_IT}{\_\_HAL\_UART\_DISABLE\_IT}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga3c29b33f38658acbf592e9aaf84c6f33} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+DISABLE\+\_\+\+IT(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{, }\item[{}]{\+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((((uint8\_t)(\_\_INTERRUPT\_\_))\ >>\ 5U)\ ==\ 1U)?\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_HANDLE\_\_)-\/>Instance-\/>CR1\ \&=\ \string~\ (1U\ <<\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_INTERRUPT\_\_)\ \&\ \mbox{\hyperlink{group___u_a_r_t___interruption___mask_ga869439269c26e8dee93d49b1c7e67448}{UART\_IT\_MASK}}))):\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((((uint8\_t)(\_\_INTERRUPT\_\_))\ >>\ 5U)\ ==\ 2U)?\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_HANDLE\_\_)-\/>Instance-\/>CR2\ \&=\ \string~\ (1U\ <<\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_INTERRUPT\_\_)\ \&\ \mbox{\hyperlink{group___u_a_r_t___interruption___mask_ga869439269c26e8dee93d49b1c7e67448}{UART\_IT\_MASK}}))):\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_HANDLE\_\_)-\/>Instance-\/>CR3\ \&=\ \string~\ (1U\ <<\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_INTERRUPT\_\_)\ \&\ \mbox{\hyperlink{group___u_a_r_t___interruption___mask_ga869439269c26e8dee93d49b1c7e67448}{UART\_IT\_MASK}}))))}

\end{DoxyCode}


Disable the specified UART interrupt. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
{\em \+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+} & specifies the UART interrupt source to disable. This parameter can be one of the following values\+: \begin{DoxyItemize}
\item \doxylink{group___u_a_r_t___interrupt__definition_ga2879c8d7ba77bb109462b3e526c3ea7d}{UART\+\_\+\+IT\+\_\+\+RXFF} RXFIFO Full interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga79e475ab3534a28f771701d97d2b81f3}{UART\+\_\+\+IT\+\_\+\+TXFE} TXFIFO Empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gaad4950a52a2f2a050760903ef6ebc015}{UART\+\_\+\+IT\+\_\+\+RXFT} RXFIFO threshold interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac5b949ef39bb1046947e2f2eff0670c1}{UART\+\_\+\+IT\+\_\+\+TXFT} TXFIFO threshold interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gab8899f6307781779f65a7c18aabb3204}{UART\+\_\+\+IT\+\_\+\+WUF} Wakeup from stop mode interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga4c22e866bce68975a180828012489106}{UART\+\_\+\+IT\+\_\+\+CM} Character match interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga986d271478550f9afa918262ca642333}{UART\+\_\+\+IT\+\_\+\+CTS} CTS change interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gabca5e77508dc2dd9aa26fcb683d9b988}{UART\+\_\+\+IT\+\_\+\+LBD} LIN Break detection interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga552636e2af516d578856f5ee2ba71ed7}{UART\+\_\+\+IT\+\_\+\+TXE} Transmit Data Register empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac29e2c6f42357ed340c3b3c7d8385c58}{UART\+\_\+\+IT\+\_\+\+TXFNF} TX FIFO not full interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gab9a4dc4e8cea354fd60f4117513b2004}{UART\+\_\+\+IT\+\_\+\+TC} Transmission complete interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac1bedf7a65eb8c3f3c4b52bdb24b139d}{UART\+\_\+\+IT\+\_\+\+RXNE} Receive Data register not empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga6901e4b6c756ccef1da212c282bc501f}{UART\+\_\+\+IT\+\_\+\+RXFNE} RXFIFO not empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gaa04d4eba7501b3a0a54d90fe40e626a0}{UART\+\_\+\+IT\+\_\+\+RTO} Receive Timeout interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga9781808d4f9999061fc2da36572191d9}{UART\+\_\+\+IT\+\_\+\+IDLE} Idle line detection interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga55f922ddcf513509710ade5d7c40a1db}{UART\+\_\+\+IT\+\_\+\+PE} Parity Error interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga8eb26d8edd9bf78ae8d3ad87dd51b618}{UART\+\_\+\+IT\+\_\+\+ERR} Error interrupt (Frame error, noise error, overrun error) \end{DoxyItemize}
\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga49eb5ea4996a957afeb8be2793ba3fe9}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_ENABLE@{\_\_HAL\_UART\_ENABLE}}
\index{\_\_HAL\_UART\_ENABLE@{\_\_HAL\_UART\_ENABLE}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_ENABLE}{\_\_HAL\_UART\_ENABLE}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga49eb5ea4996a957afeb8be2793ba3fe9} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+ENABLE(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{((\_\_HANDLE\_\_)-\/>Instance-\/>CR1\ |=\ \mbox{\hyperlink{group___peripheral___registers___bits___definition_ga2bb650676aaae4a5203f372d497d5947}{USART\_CR1\_UE}})}

\end{DoxyCode}


Enable UART. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_gaba94165ed584d49c1ec12df9819bd4bb}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_ENABLE\_IT@{\_\_HAL\_UART\_ENABLE\_IT}}
\index{\_\_HAL\_UART\_ENABLE\_IT@{\_\_HAL\_UART\_ENABLE\_IT}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_ENABLE\_IT}{\_\_HAL\_UART\_ENABLE\_IT}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_gaba94165ed584d49c1ec12df9819bd4bb} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+ENABLE\+\_\+\+IT(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{, }\item[{}]{\+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((((uint8\_t)(\_\_INTERRUPT\_\_))\ >>\ 5U)\ ==\ 1U)?\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_HANDLE\_\_)-\/>Instance-\/>CR1\ |=\ (1U\ <<\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_INTERRUPT\_\_)\ \&\ \mbox{\hyperlink{group___u_a_r_t___interruption___mask_ga869439269c26e8dee93d49b1c7e67448}{UART\_IT\_MASK}}))):\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((((uint8\_t)(\_\_INTERRUPT\_\_))\ >>\ 5U)\ ==\ 2U)?\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_HANDLE\_\_)-\/>Instance-\/>CR2\ |=\ (1U\ <<\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_INTERRUPT\_\_)\ \&\ \mbox{\hyperlink{group___u_a_r_t___interruption___mask_ga869439269c26e8dee93d49b1c7e67448}{UART\_IT\_MASK}}))):\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_HANDLE\_\_)-\/>Instance-\/>CR3\ |=\ (1U\ <<\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((\_\_INTERRUPT\_\_)\ \&\ \mbox{\hyperlink{group___u_a_r_t___interruption___mask_ga869439269c26e8dee93d49b1c7e67448}{UART\_IT\_MASK}}))))}

\end{DoxyCode}


Enable the specified UART interrupt. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
{\em \+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+} & specifies the UART interrupt source to enable. This parameter can be one of the following values\+: \begin{DoxyItemize}
\item \doxylink{group___u_a_r_t___interrupt__definition_ga2879c8d7ba77bb109462b3e526c3ea7d}{UART\+\_\+\+IT\+\_\+\+RXFF} RXFIFO Full interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga79e475ab3534a28f771701d97d2b81f3}{UART\+\_\+\+IT\+\_\+\+TXFE} TXFIFO Empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gaad4950a52a2f2a050760903ef6ebc015}{UART\+\_\+\+IT\+\_\+\+RXFT} RXFIFO threshold interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac5b949ef39bb1046947e2f2eff0670c1}{UART\+\_\+\+IT\+\_\+\+TXFT} TXFIFO threshold interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gab8899f6307781779f65a7c18aabb3204}{UART\+\_\+\+IT\+\_\+\+WUF} Wakeup from stop mode interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga4c22e866bce68975a180828012489106}{UART\+\_\+\+IT\+\_\+\+CM} Character match interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga986d271478550f9afa918262ca642333}{UART\+\_\+\+IT\+\_\+\+CTS} CTS change interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gabca5e77508dc2dd9aa26fcb683d9b988}{UART\+\_\+\+IT\+\_\+\+LBD} LIN Break detection interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga552636e2af516d578856f5ee2ba71ed7}{UART\+\_\+\+IT\+\_\+\+TXE} Transmit Data Register empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac29e2c6f42357ed340c3b3c7d8385c58}{UART\+\_\+\+IT\+\_\+\+TXFNF} TX FIFO not full interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gab9a4dc4e8cea354fd60f4117513b2004}{UART\+\_\+\+IT\+\_\+\+TC} Transmission complete interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac1bedf7a65eb8c3f3c4b52bdb24b139d}{UART\+\_\+\+IT\+\_\+\+RXNE} Receive Data register not empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga6901e4b6c756ccef1da212c282bc501f}{UART\+\_\+\+IT\+\_\+\+RXFNE} RXFIFO not empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gaa04d4eba7501b3a0a54d90fe40e626a0}{UART\+\_\+\+IT\+\_\+\+RTO} Receive Timeout interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga9781808d4f9999061fc2da36572191d9}{UART\+\_\+\+IT\+\_\+\+IDLE} Idle line detection interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga55f922ddcf513509710ade5d7c40a1db}{UART\+\_\+\+IT\+\_\+\+PE} Parity Error interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga8eb26d8edd9bf78ae8d3ad87dd51b618}{UART\+\_\+\+IT\+\_\+\+ERR} Error interrupt (frame error, noise error, overrun error) \end{DoxyItemize}
\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_gafc4f20cb0f29ba146c9bc14167c52744}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_FLUSH\_DRREGISTER@{\_\_HAL\_UART\_FLUSH\_DRREGISTER}}
\index{\_\_HAL\_UART\_FLUSH\_DRREGISTER@{\_\_HAL\_UART\_FLUSH\_DRREGISTER}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_FLUSH\_DRREGISTER}{\_\_HAL\_UART\_FLUSH\_DRREGISTER}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_gafc4f20cb0f29ba146c9bc14167c52744} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+FLUSH\+\_\+\+DRREGISTER(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{do}\{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ SET\_BIT((\_\_HANDLE\_\_)-\/>Instance-\/>RQR,\ \mbox{\hyperlink{group___u_a_r_t___request___parameters_gaf2ee2d4b1bdcbc7772ddc0da89566936}{UART\_RXDATA\_FLUSH\_REQUEST}});\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ SET\_BIT((\_\_HANDLE\_\_)-\/>Instance-\/>RQR,\ \mbox{\hyperlink{group___u_a_r_t___request___parameters_gafecbd800f456ed666a42ac0842cd2c4b}{UART\_TXDATA\_FLUSH\_REQUEST}});\ \(\backslash\)}
\DoxyCodeLine{\ \ \}\ \ \textcolor{keywordflow}{while}(0U)}

\end{DoxyCode}


Flush the UART Data registers. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga261fe8a2afe84ec048113654266c5bf6}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_GET\_FLAG@{\_\_HAL\_UART\_GET\_FLAG}}
\index{\_\_HAL\_UART\_GET\_FLAG@{\_\_HAL\_UART\_GET\_FLAG}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_GET\_FLAG}{\_\_HAL\_UART\_GET\_FLAG}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga261fe8a2afe84ec048113654266c5bf6} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+GET\+\_\+\+FLAG(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{, }\item[{}]{\+\_\+\+\_\+\+FLAG\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{(((\_\_HANDLE\_\_)-\/>Instance-\/>ISR\ \&\ (\_\_FLAG\_\_))\ ==\ (\_\_FLAG\_\_))}

\end{DoxyCode}


Check whether the specified UART flag is set or not. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
{\em \+\_\+\+\_\+\+FLAG\+\_\+\+\_\+} & specifies the flag to check. This parameter can be one of the following values\+: \begin{DoxyItemize}
\item \doxylink{group___u_a_r_t___flags_ga84a75a51675d1eb13d70e425efbe0d81}{UART\+\_\+\+FLAG\+\_\+\+TXFT} TXFIFO threshold flag \item \doxylink{group___u_a_r_t___flags_ga4ae5692f6a720737fd3c4d8a11330ad0}{UART\+\_\+\+FLAG\+\_\+\+RXFT} RXFIFO threshold flag \item \doxylink{group___u_a_r_t___flags_gaf17b4d48c103bab82a7633911ebdeba0}{UART\+\_\+\+FLAG\+\_\+\+RXFF} RXFIFO Full flag \item \doxylink{group___u_a_r_t___flags_ga1b8dde82360cc90f7bb383911bf164ec}{UART\+\_\+\+FLAG\+\_\+\+TXFE} TXFIFO Empty flag \item \doxylink{group___u_a_r_t___flags_ga18f2d6a153838d8fd53911352a4d87ad}{UART\+\_\+\+FLAG\+\_\+\+REACK} Receive enable acknowledge flag \item \doxylink{group___u_a_r_t___flags_gaf4a4ade6fd987ea7f22786269317f94a}{UART\+\_\+\+FLAG\+\_\+\+TEACK} Transmit enable acknowledge flag \item \doxylink{group___u_a_r_t___flags_gada80ee73404da204801766e42cbf7163}{UART\+\_\+\+FLAG\+\_\+\+WUF} Wake up from stop mode flag \item \doxylink{group___u_a_r_t___flags_ga5d5f6f91093bfb222baa277a86f6b75b}{UART\+\_\+\+FLAG\+\_\+\+RWU} Receiver wake up flag (if the UART in mute mode) \item \doxylink{group___u_a_r_t___flags_gaea7a67e1f6a8af78e2adfaed59d1a4be}{UART\+\_\+\+FLAG\+\_\+\+SBKF} Send Break flag \item \doxylink{group___u_a_r_t___flags_ga01f2c67d8999a9ee8d91ac3cb5e7fbfe}{UART\+\_\+\+FLAG\+\_\+\+CMF} Character match flag \item \doxylink{group___u_a_r_t___flags_ga2d1387d412382a345097acb403748ba3}{UART\+\_\+\+FLAG\+\_\+\+BUSY} Busy flag \item \doxylink{group___u_a_r_t___flags_ga9e309874f2c8f71e4049ae6cb702a2eb}{UART\+\_\+\+FLAG\+\_\+\+ABRF} Auto Baud rate detection flag \item \doxylink{group___u_a_r_t___flags_ga87853efaab808377c8acb9e8b671a2e8}{UART\+\_\+\+FLAG\+\_\+\+ABRE} Auto Baud rate detection error flag \item \doxylink{group___u_a_r_t___flags_ga5435edd22ff23de7187654362c48e0b1}{UART\+\_\+\+FLAG\+\_\+\+CTS} CTS Change flag \item \doxylink{group___u_a_r_t___flags_ga77b81c3c843b49af940862fe4d6ab933}{UART\+\_\+\+FLAG\+\_\+\+LBDF} LIN Break detection flag \item \doxylink{group___u_a_r_t___flags_gad39c017d415a7774c82eb07413a9dbe4}{UART\+\_\+\+FLAG\+\_\+\+TXE} Transmit data register empty flag \item \doxylink{group___u_a_r_t___flags_ga5034eef38dce6da2fb2459c1598b1506}{UART\+\_\+\+FLAG\+\_\+\+TXFNF} UART TXFIFO not full flag \item \doxylink{group___u_a_r_t___flags_ga82e68a0ee4a8b987a47c66fc6f744894}{UART\+\_\+\+FLAG\+\_\+\+TC} Transmission Complete flag \item \doxylink{group___u_a_r_t___flags_ga9d1b2860d84a87abb05c3b2fed3c108c}{UART\+\_\+\+FLAG\+\_\+\+RXNE} Receive data register not empty flag \item \doxylink{group___u_a_r_t___flags_ga59facde9c848f4988b98fdd5f68376a4}{UART\+\_\+\+FLAG\+\_\+\+RXFNE} UART RXFIFO not empty flag \item \doxylink{group___u_a_r_t___flags_ga69afec3b174a6b5969e71ea25d973958}{UART\+\_\+\+FLAG\+\_\+\+RTOF} Receiver Timeout flag \item \doxylink{group___u_a_r_t___flags_ga5d7a320c505672f7508e3bd99f532a69}{UART\+\_\+\+FLAG\+\_\+\+IDLE} Idle Line detection flag \item \doxylink{group___u_a_r_t___flags_ga335a5b0f61512223bbc406b38c95b2d6}{UART\+\_\+\+FLAG\+\_\+\+ORE} Overrun Error flag \item \doxylink{group___u_a_r_t___flags_ga665981434d02ff5296361782c1a7d4b5}{UART\+\_\+\+FLAG\+\_\+\+NE} Noise Error flag \item \doxylink{group___u_a_r_t___flags_gafba4891ce21cf5223ca5fede0eac388d}{UART\+\_\+\+FLAG\+\_\+\+FE} Framing Error flag \item \doxylink{group___u_a_r_t___flags_gad5b96f73f6d3a0b58f07e2e9d7bf14d9}{UART\+\_\+\+FLAG\+\_\+\+PE} Parity Error flag \end{DoxyItemize}
\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em The} & new state of {\bfseries{FLAG}} (TRUE or FALSE). \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga89c4cb1b623c15cfdea2c0a864c8b1e4}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_GET\_IT@{\_\_HAL\_UART\_GET\_IT}}
\index{\_\_HAL\_UART\_GET\_IT@{\_\_HAL\_UART\_GET\_IT}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_GET\_IT}{\_\_HAL\_UART\_GET\_IT}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga89c4cb1b623c15cfdea2c0a864c8b1e4} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+GET\+\_\+\+IT(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{, }\item[{}]{\+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((((\_\_HANDLE\_\_)-\/>Instance-\/>ISR\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \&\ (1U\ <<\ ((\_\_INTERRUPT\_\_)>>\ 8U)))\ !=\ RESET)\ ?\ SET\ :\ RESET)}

\end{DoxyCode}


Check whether the specified UART interrupt has occurred or not. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
{\em \+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+} & specifies the UART interrupt to check. This parameter can be one of the following values\+: \begin{DoxyItemize}
\item \doxylink{group___u_a_r_t___interrupt__definition_ga2879c8d7ba77bb109462b3e526c3ea7d}{UART\+\_\+\+IT\+\_\+\+RXFF} RXFIFO Full interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga79e475ab3534a28f771701d97d2b81f3}{UART\+\_\+\+IT\+\_\+\+TXFE} TXFIFO Empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gaad4950a52a2f2a050760903ef6ebc015}{UART\+\_\+\+IT\+\_\+\+RXFT} RXFIFO threshold interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac5b949ef39bb1046947e2f2eff0670c1}{UART\+\_\+\+IT\+\_\+\+TXFT} TXFIFO threshold interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gab8899f6307781779f65a7c18aabb3204}{UART\+\_\+\+IT\+\_\+\+WUF} Wakeup from stop mode interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga4c22e866bce68975a180828012489106}{UART\+\_\+\+IT\+\_\+\+CM} Character match interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga986d271478550f9afa918262ca642333}{UART\+\_\+\+IT\+\_\+\+CTS} CTS change interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gabca5e77508dc2dd9aa26fcb683d9b988}{UART\+\_\+\+IT\+\_\+\+LBD} LIN Break detection interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga552636e2af516d578856f5ee2ba71ed7}{UART\+\_\+\+IT\+\_\+\+TXE} Transmit Data Register empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac29e2c6f42357ed340c3b3c7d8385c58}{UART\+\_\+\+IT\+\_\+\+TXFNF} TX FIFO not full interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gab9a4dc4e8cea354fd60f4117513b2004}{UART\+\_\+\+IT\+\_\+\+TC} Transmission complete interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac1bedf7a65eb8c3f3c4b52bdb24b139d}{UART\+\_\+\+IT\+\_\+\+RXNE} Receive Data register not empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga6901e4b6c756ccef1da212c282bc501f}{UART\+\_\+\+IT\+\_\+\+RXFNE} RXFIFO not empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gaa04d4eba7501b3a0a54d90fe40e626a0}{UART\+\_\+\+IT\+\_\+\+RTO} Receive Timeout interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga9781808d4f9999061fc2da36572191d9}{UART\+\_\+\+IT\+\_\+\+IDLE} Idle line detection interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga55f922ddcf513509710ade5d7c40a1db}{UART\+\_\+\+IT\+\_\+\+PE} Parity Error interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga8eb26d8edd9bf78ae8d3ad87dd51b618}{UART\+\_\+\+IT\+\_\+\+ERR} Error interrupt (Frame error, noise error, overrun error) \end{DoxyItemize}
\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em The} & new state of {\bfseries{INTERRUPT}} (SET or RESET). \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_gab53dbf1d75f241330428bf426b2963d1}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_GET\_IT\_SOURCE@{\_\_HAL\_UART\_GET\_IT\_SOURCE}}
\index{\_\_HAL\_UART\_GET\_IT\_SOURCE@{\_\_HAL\_UART\_GET\_IT\_SOURCE}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_GET\_IT\_SOURCE}{\_\_HAL\_UART\_GET\_IT\_SOURCE}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_gab53dbf1d75f241330428bf426b2963d1} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+GET\+\_\+\+IT\+\_\+\+SOURCE(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{, }\item[{}]{\+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ((((((((uint8\_t)(\_\_INTERRUPT\_\_))\ >>\ 5U)\ ==\ 1U)\ ?\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\_\_HANDLE\_\_)-\/>Instance-\/>CR1\ :\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (((((uint8\_t)(\_\_INTERRUPT\_\_))\ >>\ 5U)\ ==\ 2U)\ ?\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\_\_HANDLE\_\_)-\/>Instance-\/>CR2\ :\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\_\_HANDLE\_\_)-\/>Instance-\/>CR3))\ \&\ (1U\ <<\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (((uint16\_t)(\_\_INTERRUPT\_\_))\ \&\(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{group___u_a_r_t___interruption___mask_ga869439269c26e8dee93d49b1c7e67448}{UART\_IT\_MASK}})))\ \ !=\ RESET)\ ?\ SET\ :\ RESET)}

\end{DoxyCode}


Check whether the specified UART interrupt source is enabled or not. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
{\em \+\_\+\+\_\+\+INTERRUPT\+\_\+\+\_\+} & specifies the UART interrupt source to check. This parameter can be one of the following values\+: \begin{DoxyItemize}
\item \doxylink{group___u_a_r_t___interrupt__definition_ga2879c8d7ba77bb109462b3e526c3ea7d}{UART\+\_\+\+IT\+\_\+\+RXFF} RXFIFO Full interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga79e475ab3534a28f771701d97d2b81f3}{UART\+\_\+\+IT\+\_\+\+TXFE} TXFIFO Empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gaad4950a52a2f2a050760903ef6ebc015}{UART\+\_\+\+IT\+\_\+\+RXFT} RXFIFO threshold interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac5b949ef39bb1046947e2f2eff0670c1}{UART\+\_\+\+IT\+\_\+\+TXFT} TXFIFO threshold interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gab8899f6307781779f65a7c18aabb3204}{UART\+\_\+\+IT\+\_\+\+WUF} Wakeup from stop mode interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga4c22e866bce68975a180828012489106}{UART\+\_\+\+IT\+\_\+\+CM} Character match interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga986d271478550f9afa918262ca642333}{UART\+\_\+\+IT\+\_\+\+CTS} CTS change interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gabca5e77508dc2dd9aa26fcb683d9b988}{UART\+\_\+\+IT\+\_\+\+LBD} LIN Break detection interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga552636e2af516d578856f5ee2ba71ed7}{UART\+\_\+\+IT\+\_\+\+TXE} Transmit Data Register empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac29e2c6f42357ed340c3b3c7d8385c58}{UART\+\_\+\+IT\+\_\+\+TXFNF} TX FIFO not full interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gab9a4dc4e8cea354fd60f4117513b2004}{UART\+\_\+\+IT\+\_\+\+TC} Transmission complete interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gac1bedf7a65eb8c3f3c4b52bdb24b139d}{UART\+\_\+\+IT\+\_\+\+RXNE} Receive Data register not empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga6901e4b6c756ccef1da212c282bc501f}{UART\+\_\+\+IT\+\_\+\+RXFNE} RXFIFO not empty interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_gaa04d4eba7501b3a0a54d90fe40e626a0}{UART\+\_\+\+IT\+\_\+\+RTO} Receive Timeout interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga9781808d4f9999061fc2da36572191d9}{UART\+\_\+\+IT\+\_\+\+IDLE} Idle line detection interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga55f922ddcf513509710ade5d7c40a1db}{UART\+\_\+\+IT\+\_\+\+PE} Parity Error interrupt \item \doxylink{group___u_a_r_t___interrupt__definition_ga8eb26d8edd9bf78ae8d3ad87dd51b618}{UART\+\_\+\+IT\+\_\+\+ERR} Error interrupt (Frame error, noise error, overrun error) \end{DoxyItemize}
\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em The} & new state of {\bfseries{INTERRUPT}} (SET or RESET). \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga0a26cb3a576c2700f76a7c697c86a499}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_HWCONTROL\_CTS\_DISABLE@{\_\_HAL\_UART\_HWCONTROL\_CTS\_DISABLE}}
\index{\_\_HAL\_UART\_HWCONTROL\_CTS\_DISABLE@{\_\_HAL\_UART\_HWCONTROL\_CTS\_DISABLE}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_HWCONTROL\_CTS\_DISABLE}{\_\_HAL\_UART\_HWCONTROL\_CTS\_DISABLE}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga0a26cb3a576c2700f76a7c697c86a499} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+HWCONTROL\+\_\+\+CTS\+\_\+\+DISABLE(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{do}\{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ ATOMIC\_CLEAR\_BIT((\_\_HANDLE\_\_)-\/>Instance-\/>CR3,\ \mbox{\hyperlink{group___peripheral___registers___bits___definition_gaa125f026b1ca2d76eab48b191baed265}{USART\_CR3\_CTSE}});\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ (\_\_HANDLE\_\_)-\/>Init.HwFlowCtl\ \&=\ \string~(\mbox{\hyperlink{group___peripheral___registers___bits___definition_gaa125f026b1ca2d76eab48b191baed265}{USART\_CR3\_CTSE}});\ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \}\ \textcolor{keywordflow}{while}(0U)}

\end{DoxyCode}


Disable CTS flow control. 

\begin{DoxyNote}{Note}
This macro allows to disable CTS hardware flow control for a given UART instance, without need to call HAL\+\_\+\+UART\+\_\+\+Init() function. As involving direct access to UART registers, usage of this macro should be fully endorsed by user. 

As macro is expected to be used for modifying CTS Hw flow control feature activation, without need for USART instance Deinit/\+Init, following conditions for macro call should be fulfilled \+:
\begin{DoxyItemize}
\item UART instance should have already been initialised (through call of HAL\+\_\+\+UART\+\_\+\+Init() )
\item macro could only be called when corresponding UART instance is disabled (i.\+e. {\bfseries{HAL\+\_\+\+UART\+\_\+\+DISABLE(\+\_\+\+\_\+\+HANDLE}})) and should be followed by an Enable macro (i.\+e. {\bfseries{HAL\+\_\+\+UART\+\_\+\+ENABLE(\+\_\+\+\_\+\+HANDLE}})). 
\end{DoxyItemize}
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga4a77213945844bca4c22ba6a14b7ee4c}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_HWCONTROL\_CTS\_ENABLE@{\_\_HAL\_UART\_HWCONTROL\_CTS\_ENABLE}}
\index{\_\_HAL\_UART\_HWCONTROL\_CTS\_ENABLE@{\_\_HAL\_UART\_HWCONTROL\_CTS\_ENABLE}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_HWCONTROL\_CTS\_ENABLE}{\_\_HAL\_UART\_HWCONTROL\_CTS\_ENABLE}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga4a77213945844bca4c22ba6a14b7ee4c} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+HWCONTROL\+\_\+\+CTS\+\_\+\+ENABLE(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{do}\{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ ATOMIC\_SET\_BIT((\_\_HANDLE\_\_)-\/>Instance-\/>CR3,\ \mbox{\hyperlink{group___peripheral___registers___bits___definition_gaa125f026b1ca2d76eab48b191baed265}{USART\_CR3\_CTSE}});\ \ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ (\_\_HANDLE\_\_)-\/>Init.HwFlowCtl\ |=\ \mbox{\hyperlink{group___peripheral___registers___bits___definition_gaa125f026b1ca2d76eab48b191baed265}{USART\_CR3\_CTSE}};\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \}\ \textcolor{keywordflow}{while}(0U)}

\end{DoxyCode}


Enable CTS flow control. 

\begin{DoxyNote}{Note}
This macro allows to enable CTS hardware flow control for a given UART instance, without need to call HAL\+\_\+\+UART\+\_\+\+Init() function. As involving direct access to UART registers, usage of this macro should be fully endorsed by user. 

As macro is expected to be used for modifying CTS Hw flow control feature activation, without need for USART instance Deinit/\+Init, following conditions for macro call should be fulfilled \+:
\begin{DoxyItemize}
\item UART instance should have already been initialised (through call of HAL\+\_\+\+UART\+\_\+\+Init() )
\item macro could only be called when corresponding UART instance is disabled (i.\+e. {\bfseries{HAL\+\_\+\+UART\+\_\+\+DISABLE(\+\_\+\+\_\+\+HANDLE}})) and should be followed by an Enable macro (i.\+e. {\bfseries{HAL\+\_\+\+UART\+\_\+\+ENABLE(\+\_\+\+\_\+\+HANDLE}})). 
\end{DoxyItemize}
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga8c034e96ad8f263cafeb5898ff7311fd}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_HWCONTROL\_RTS\_DISABLE@{\_\_HAL\_UART\_HWCONTROL\_RTS\_DISABLE}}
\index{\_\_HAL\_UART\_HWCONTROL\_RTS\_DISABLE@{\_\_HAL\_UART\_HWCONTROL\_RTS\_DISABLE}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_HWCONTROL\_RTS\_DISABLE}{\_\_HAL\_UART\_HWCONTROL\_RTS\_DISABLE}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga8c034e96ad8f263cafeb5898ff7311fd} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+HWCONTROL\+\_\+\+RTS\+\_\+\+DISABLE(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{do}\{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ ATOMIC\_CLEAR\_BIT((\_\_HANDLE\_\_)-\/>Instance-\/>CR3,\ \mbox{\hyperlink{group___peripheral___registers___bits___definition_ga7c5d6fcd84a4728cda578a0339b4cac2}{USART\_CR3\_RTSE}});\(\backslash\)}
\DoxyCodeLine{\ \ \ \ (\_\_HANDLE\_\_)-\/>Init.HwFlowCtl\ \&=\ \string~(\mbox{\hyperlink{group___peripheral___registers___bits___definition_ga7c5d6fcd84a4728cda578a0339b4cac2}{USART\_CR3\_RTSE}});\ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \}\ \textcolor{keywordflow}{while}(0U)}

\end{DoxyCode}


Disable RTS flow control. 

\begin{DoxyNote}{Note}
This macro allows to disable RTS hardware flow control for a given UART instance, without need to call HAL\+\_\+\+UART\+\_\+\+Init() function. As involving direct access to UART registers, usage of this macro should be fully endorsed by user. 

As macro is expected to be used for modifying RTS Hw flow control feature activation, without need for USART instance Deinit/\+Init, following conditions for macro call should be fulfilled \+:
\begin{DoxyItemize}
\item UART instance should have already been initialised (through call of HAL\+\_\+\+UART\+\_\+\+Init() )
\item macro could only be called when corresponding UART instance is disabled (i.\+e. {\bfseries{HAL\+\_\+\+UART\+\_\+\+DISABLE(\+\_\+\+\_\+\+HANDLE}})) and should be followed by an Enable macro (i.\+e. {\bfseries{HAL\+\_\+\+UART\+\_\+\+ENABLE(\+\_\+\+\_\+\+HANDLE}})). 
\end{DoxyItemize}
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga017ec9001ff33136f87cc4034b2709a6}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_HWCONTROL\_RTS\_ENABLE@{\_\_HAL\_UART\_HWCONTROL\_RTS\_ENABLE}}
\index{\_\_HAL\_UART\_HWCONTROL\_RTS\_ENABLE@{\_\_HAL\_UART\_HWCONTROL\_RTS\_ENABLE}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_HWCONTROL\_RTS\_ENABLE}{\_\_HAL\_UART\_HWCONTROL\_RTS\_ENABLE}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga017ec9001ff33136f87cc4034b2709a6} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+HWCONTROL\+\_\+\+RTS\+\_\+\+ENABLE(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{do}\{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ ATOMIC\_SET\_BIT((\_\_HANDLE\_\_)-\/>Instance-\/>CR3,\ \mbox{\hyperlink{group___peripheral___registers___bits___definition_ga7c5d6fcd84a4728cda578a0339b4cac2}{USART\_CR3\_RTSE}});\ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ (\_\_HANDLE\_\_)-\/>Init.HwFlowCtl\ |=\ \mbox{\hyperlink{group___peripheral___registers___bits___definition_ga7c5d6fcd84a4728cda578a0339b4cac2}{USART\_CR3\_RTSE}};\ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \}\ \textcolor{keywordflow}{while}(0U)}

\end{DoxyCode}


Enable RTS flow control. 

\begin{DoxyNote}{Note}
This macro allows to enable RTS hardware flow control for a given UART instance, without need to call HAL\+\_\+\+UART\+\_\+\+Init() function. As involving direct access to UART registers, usage of this macro should be fully endorsed by user. 

As macro is expected to be used for modifying RTS Hw flow control feature activation, without need for USART instance Deinit/\+Init, following conditions for macro call should be fulfilled \+:
\begin{DoxyItemize}
\item UART instance should have already been initialised (through call of HAL\+\_\+\+UART\+\_\+\+Init() )
\item macro could only be called when corresponding UART instance is disabled (i.\+e. {\bfseries{HAL\+\_\+\+UART\+\_\+\+DISABLE(\+\_\+\+\_\+\+HANDLE}})) and should be followed by an Enable macro (i.\+e. {\bfseries{HAL\+\_\+\+UART\+\_\+\+ENABLE(\+\_\+\+\_\+\+HANDLE}})). 
\end{DoxyItemize}
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga2dbd7e6592e8c5999f817b69f0fd24bb}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_DISABLE@{\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_DISABLE}}
\index{\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_DISABLE@{\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_DISABLE}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_DISABLE}{\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_DISABLE}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga2dbd7e6592e8c5999f817b69f0fd24bb} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+ONE\+\_\+\+BIT\+\_\+\+SAMPLE\+\_\+\+DISABLE(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{((\_\_HANDLE\_\_)-\/>Instance-\/>CR3\ \&=\ \mbox{\hyperlink{group___peripheral___registers___bits___definition_ga9a96fb1a7beab602cbc8cb0393593826}{\string~USART\_CR3\_ONEBIT}})}

\end{DoxyCode}


Disable the UART one bit sample method. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga3524747e5896296ab066d786431503ce}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_ENABLE@{\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_ENABLE}}
\index{\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_ENABLE@{\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_ENABLE}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_ENABLE}{\_\_HAL\_UART\_ONE\_BIT\_SAMPLE\_ENABLE}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga3524747e5896296ab066d786431503ce} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+ONE\+\_\+\+BIT\+\_\+\+SAMPLE\+\_\+\+ENABLE(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{((\_\_HANDLE\_\_)-\/>Instance-\/>CR3|=\ \mbox{\hyperlink{group___peripheral___registers___bits___definition_ga9a96fb1a7beab602cbc8cb0393593826}{USART\_CR3\_ONEBIT}})}

\end{DoxyCode}


Enable the UART one bit sample method. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga19deab848407b106998416c78092fa9b}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_RESET\_HANDLE\_STATE@{\_\_HAL\_UART\_RESET\_HANDLE\_STATE}}
\index{\_\_HAL\_UART\_RESET\_HANDLE\_STATE@{\_\_HAL\_UART\_RESET\_HANDLE\_STATE}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_RESET\_HANDLE\_STATE}{\_\_HAL\_UART\_RESET\_HANDLE\_STATE}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga19deab848407b106998416c78092fa9b} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+RESET\+\_\+\+HANDLE\+\_\+\+STATE(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{do}\{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\_\_HANDLE\_\_)-\/>gState\ =\ \mbox{\hyperlink{group___u_a_r_t___state___definition_gacd81aeb745b71fc1c121cc686369600d}{HAL\_UART\_STATE\_RESET}};\ \ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (\_\_HANDLE\_\_)-\/>RxState\ =\ \mbox{\hyperlink{group___u_a_r_t___state___definition_gacd81aeb745b71fc1c121cc686369600d}{HAL\_UART\_STATE\_RESET}};\ \ \ \ \ \(\backslash\)}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}\ \textcolor{keywordflow}{while}(0U)}

\end{DoxyCode}


Reset UART handle states. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & UART handle. \\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
\Hypertarget{group___u_a_r_t___exported___macros_ga568a15495a9e2a9d230474b9e8bcc8e4}\index{UART Exported Macros@{UART Exported Macros}!\_\_HAL\_UART\_SEND\_REQ@{\_\_HAL\_UART\_SEND\_REQ}}
\index{\_\_HAL\_UART\_SEND\_REQ@{\_\_HAL\_UART\_SEND\_REQ}!UART Exported Macros@{UART Exported Macros}}
\doxysubsubsubsubsection{\texorpdfstring{\_\_HAL\_UART\_SEND\_REQ}{\_\_HAL\_UART\_SEND\_REQ}}
{\footnotesize\ttfamily \label{group___u_a_r_t___exported___macros_ga568a15495a9e2a9d230474b9e8bcc8e4} 
\#define \+\_\+\+\_\+\+HAL\+\_\+\+UART\+\_\+\+SEND\+\_\+\+REQ(\begin{DoxyParamCaption}\item[{}]{\+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+}{, }\item[{}]{\+\_\+\+\_\+\+REQ\+\_\+\+\_\+}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{((\_\_HANDLE\_\_)-\/>Instance-\/>RQR\ |=\ (uint16\_t)(\_\_REQ\_\_))}

\end{DoxyCode}


Set a specific UART request flag. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+\+\_\+\+HANDLE\+\_\+\+\_\+} & specifies the UART Handle. \\
\hline
{\em \+\_\+\+\_\+\+REQ\+\_\+\+\_\+} & specifies the request flag to set This parameter can be one of the following values\+: \begin{DoxyItemize}
\item \doxylink{group___u_a_r_t___request___parameters_ga8cdce81a934ab7d0c2eecb4d85300d4e}{UART\+\_\+\+AUTOBAUD\+\_\+\+REQUEST} Auto-\/\+Baud Rate Request \item \doxylink{group___u_a_r_t___request___parameters_ga52ced88a9f4ce90f3725901cf91f38b3}{UART\+\_\+\+SENDBREAK\+\_\+\+REQUEST} Send Break Request \item \doxylink{group___u_a_r_t___request___parameters_gadd5f511803928fd042f7fc6ef99f9cfb}{UART\+\_\+\+MUTE\+\_\+\+MODE\+\_\+\+REQUEST} Mute Mode Request \item \doxylink{group___u_a_r_t___request___parameters_gaf2ee2d4b1bdcbc7772ddc0da89566936}{UART\+\_\+\+RXDATA\+\_\+\+FLUSH\+\_\+\+REQUEST} Receive Data flush Request \item \doxylink{group___u_a_r_t___request___parameters_gafecbd800f456ed666a42ac0842cd2c4b}{UART\+\_\+\+TXDATA\+\_\+\+FLUSH\+\_\+\+REQUEST} Transmit data flush Request \end{DoxyItemize}
\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em None} & \\
\hline
\end{DoxyRetVals}
